<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../js/jquery-3.5.0.js"></script>
    <script src="../js/common.js"></script>
    <link rel="stylesheet" href="../css/calls.css">
    <script src="//api.map.baidu.com/api?type=webgl&v=1.0&ak=iNEZN4iMczZ8cM5FnHmH7l3khMHRWekC"></script>

</head>
<body>
<div>
    <div id="top"></div>
    <div class="middle">
        <div>
            <div class="title">联系我们</div>
            <div>


                <div>
                    <div>
                        <div>
                            <div>我们会做的更好! </div>
                            <div>WE WILL DO BETTER</div>
                        </div>

                        <div> 如果您对我们有什么建议、投诉、需求，可以通过留言告诉我们，我们会在第一时间了解并及时与您联系。</div>
                    </div>
                </div>
                <div  class="content">
                    <div id="container"  class="container">ssda</div>
                </div>
            </div>
        </div>
    </div>
    <div id="foot"></div>
</div>

</body>
</html>
<script>
    var map = new BMapGL.Map('container'); // 创建Map实例
    map.centerAndZoom(new BMapGL.Point (104.066239, 30.579353), 20); // 初始化地图,设置中心点坐标和地图级别
    map.enableScrollWheelZoom(true); // 开启鼠标滚轮缩放
    var marker = new BMapGL.Marker(new BMapGL.Point(104.066239, 30.579353));
    map.addOverlay(marker);

    var point = new BMapGL.Point(104.066239, 30.579353);
    map.centerAndZoom(point, 15);
    // 创建信息窗口
    var opts = {
        width: 200,
        height: 100,
        title: '故宫博物院'
    };
    var infoWindow = new BMapGL.InfoWindow('地址：北京市东城区王府井大街88号乐天银泰百货八层', opts);
    // 点标记添加点击事件
    marker.addEventListener('click', function () {
        map.openInfoWindow(infoWindow, point); // 开启信息窗口
    });
</script>